package com.tbit.uqbike.service.rpcservice;

/**
 * @Author HZW
 * @ClassName AwardStrategy
 * @Description
 * @date 2022/5/9 9:19
 * @Version 1.0
 */
public interface AwardStrategy {

    /**
     * 获取策略标识,即不同渠道的来源标识
     *
     * @return {@link String}
     */
    String getSource();

    /**
     * 骑完订单
     *
     * @param userCode 用户代码
     * @param money    钱
     * @param remark   备注
     * @param secret   秘密
     * @return {@link Boolean}
     */
    Boolean finishRideOrder(String userCode, Integer money, String remark, String secret);

}
